package com.example.springboot.wechat.wechatinterface.entity.dto;

/**
 * 微信认证
 */
public class WeChatDto {

    //服务端认证
    private String signature;
    private String timestamp;
    private String nonce;
    private String echostr;

    //web认证
    private String noncestr;
    //web端token
    private String jsapiTicket;
    private String webUrl;
    //全局token
    private String accessToken;

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getNonce() {
        return nonce;
    }

    public void setNonce(String nonce) {
        this.nonce = nonce;
    }

    public String getEchostr() {
        return echostr;
    }

    public void setEchostr(String echostr) {
        this.echostr = echostr;
    }


    public String getNoncestr() {
        return noncestr;
    }

    public void setNoncestr(String noncestr) {
        this.noncestr = noncestr;
    }

    public String getJsapiTicket() {
        return jsapiTicket;
    }

    public void setJsapiTicket(String jsapiTicket) {
        this.jsapiTicket = jsapiTicket;
    }

    public String getWebUrl() {
        return webUrl;
    }

    public void setWebUrl(String webUrl) {
        this.webUrl = webUrl;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    @Override
    public String toString() {
        return "WeChatDto{" +
                "signature='" + signature + '\'' +
                ", timestamp='" + timestamp + '\'' +
                ", nonce='" + nonce + '\'' +
                ", echostr='" + echostr + '\'' +
                ", noncestr='" + noncestr + '\'' +
                ", jsapiTicket='" + jsapiTicket + '\'' +
                ", webUrl='" + webUrl + '\'' +
                ", accessToken='" + accessToken + '\'' +
                '}';
    }
}

